.wrapper {
	margin: 0 auto;
	min-height: 100%;
	width: 1000px;
}
.open-popup {
	border-bottom: 2px dotted #555;
	cursor: pointer;
	font-size: 18px;
	left: 50%;
	margin: -11px 0 0 -216px;
	position: absolute;
	top: 50%;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
}
.open-popup:hover {
	border-bottom: 2px dotted #666;
	color: #666;
}
.popup, .popup2, .popup_edit,.popup3 {
	background: #ffffff;
	border: 0px solid rgba(197, 192, 192, .7);
	border-radius: 16px;
	height: 320px;
	position: absolute;
	width: 400px;
	z-index: 999;
	box-shadow: 0 0 6px 3px rgba(0, 0, 0, 0.5);
}
.popup2 {
height: 318px;
}

.popup3 {
height: 244px;
}

.popup_edit {
height: 278px;
}
.popup-content {
    border-radius: 6px;
    line-height: 1.6;
    padding: 14px 18px 0 17px;
}

.popup-content  p textarea {
width: 366px;
}

.popup-title {
	background: url("../images/bg-popup-title.png") repeat-x;
	border-radius: 6px 6px 0 0;
	font-family: Helvetica, sans-serif;
	font-size: 17px;
	height: 43px;
	line-height: 43px;
	padding: 0 0 0 16px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
	box-shadow: inset 0 1px 1px #e6edef;
}
.popup-choice {
	margin: 34px 0 0;
	text-align: center;
}

.hide-layout {
	background: #000;
	bottom: 0;
	display: none;
	height: 100%;
	opacity: 0.5;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 998;
}

.btn-close,.btn-close_2 {
background: url("../images/btn-close.png") no-repeat;
height: 17px;
left: 370px;
position: absolute;
top: 8px;
width: 16px;
cursor:pointer;
}
.btn-close {
left: 386px;
}

#popup_cl_create div.btn-close ,#popup_edit div.btn-close{
left: 386px;
}

#popup_contacts div.btn-close,#popup_confirm div.btn-close, #popup_photoalbum_edit div.btn-close, #popup_videoalbum_edit div.btn-close{
left: 286px;
}

.tc_new {
height: 160px !important;
}

#popup_cl_create,#popup_edit, #popup_contacts , #popup_confirm, #popup_photoalbum_edit, #popup_videoalbum_edit{
width: 428px;
height: 484px;
display:none;
}


#popup_contacts, #popup_confirm{
width: 300px;
height: 200px;
}

#popup_edit_advert{
height: 370px;
width: 320px;
display: none;
}

#popup_edit_advert div.btn-close{
left: 296px;
}

#popup_confirm{
height: 166px;
width: 310px;
}

#popup_photoalbum_edit, #popup_videoalbum_edit{
height: 166px;
width: 310px;
}

#popup_videoalbum_iframe{
display:none;
width: 427px;
}

#popup_videoalbum_iframe div.popup-content{
padding:0 1px;
}

.popup-content p{
margin-bottom:4px;
}

.box-head {
    background: none repeat scroll 0 0 #8DB201;
    border-bottom: 1px solid #FFFFFF;
    border-radius: 10px 10px 0 0;
    color: #FFFFFF;
    height: 32px;
    line-height: 32px;
    padding: 10px;
    white-space: nowrap;
	font-family: Helvetica, sans-serif;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
}

#popup_videoalbum_iframe .photo_comments, #popup_videoalbum_iframe .photo_actions, #popup_videoalbum_iframe .send_photo_comments{
padding:6px;
}




